package com.luoyx.hauyne.admin.sys.request;

import com.luoyx.hauyne.validation.group.sequence.First;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * 修改角色 表单数据VO 类
 *
 * @author Alan.Luo
 */
@Getter
@Setter
@ToString
public class RoleUpdateDTO extends RoleCreateDTO {

    /**
     * 主键id
     */
    @ApiModelProperty("主键id")
    @NotNull(message = "Id不能为NULL", groups = First.class)
    private Long id;

}
